create

fun create(type: String, version: String)
fun create(type: IntelliJPlatformType, version: String)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The type of the IntelliJ Platform dependency.

version

The version of the IntelliJ Platform dependency.


fun create(type: Provider<*>, version: String)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The provider for the type of the IntelliJ Platform dependency. Accepts either IntelliJPlatformType or String.

version

The version of the IntelliJ Platform dependency.


fun create(type: String, version: Provider<String>)
fun create(type: IntelliJPlatformType, version: Provider<String>)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The type of the IntelliJ Platform dependency.

version

The provider for the version of the IntelliJ Platform dependency.


fun create(type: Provider<*>, version: Provider<String>, configurationName: String)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The provider for the type of the IntelliJ Platform dependency. Accepts either IntelliJPlatformType or String.

version

The provider for the version of the IntelliJ Platform dependency.

configurationName

The name of the configuration to add the dependency to.


fun create(type: Provider<*>, version: Provider<String>)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The provider for the type of the IntelliJ Platform dependency. Accepts either IntelliJPlatformType or String.

version

The provider for the version of the IntelliJ Platform dependency.